package com.bzkj.document.domain.otherinorder.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

/**
 * @projectName: bzkj-wms
 * @package: com.bzkj.document.domain.otherinorder
 * @className: ICGeneralInH
 * @description: 其他入库单新增表头
 * @author: C1309
 * @createDate: 2024年12月03日
 * @version: v1.0
 */
public class ICGeneralInH {
    /**
     * 组织机构编码
     */
    @JSONField(name = "pk_org")
    @JsonProperty("pk_org")
    private String pkOrg = "111";

    /**
     * 仓库编码
     */
    @JSONField(name = "cwarehouseid")
    @JsonProperty("cwarehouseid")
    private String cWarehouseId;

    /**
     * 业务员
     */
    @JSONField(name = "cbizid")
    @JsonProperty("cbizid")
    private String cBizId;

    /**
     * 仓库管理员
     */
    @JSONField(name = "cwhsmanagerid")
    @JsonProperty("cwhsmanagerid")
    private String cWhsManagerId;

    /**
     * 部门
     */
    @JSONField(name = "cdptvid")
    @JsonProperty("cdptvid")
    private String cDptvId;

    /**
     * 出入库类型
     */
    @JSONField(name = "ctrantypeid")
    @JsonProperty("ctrantypeid")
    private String cTrantypeId;

    /**
     * 备注
     */
    @JSONField(name = "vnote")
    @JsonProperty("vnote")
    private String vnote;

    /**
     * NCC是否能够修改标识
     */
//    @JSONField(name = "vdef18")
//    @JsonProperty("vdef18")
//    private String vdef18 = "Y";

    /**
     * 制单时间
     */
    @JSONField(name = "dmakedate", format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dmakedate;

    public String getPkOrg() {
        return pkOrg;
    }

    public void setPkOrg(String pkOrg) {
        this.pkOrg = pkOrg;
    }

    public String getcWarehouseId() {
        return cWarehouseId;
    }

    public void setcWarehouseId(String cWarehouseId) {
        this.cWarehouseId = cWarehouseId;
    }

    public String getcBizId() {
        return cBizId;
    }

    public void setcBizId(String cBizId) {
        this.cBizId = cBizId;
    }

    public String getcWhsManagerId() {
        return cWhsManagerId;
    }

    public void setcWhsManagerId(String cWhsManagerId) {
        this.cWhsManagerId = cWhsManagerId;
    }

    public String getcDptvId() {
        return cDptvId;
    }

    public void setcDptvId(String cDptvId) {
        this.cDptvId = cDptvId;
    }

    public String getcTrantypeId() {
        return cTrantypeId;
    }

    public void setcTrantypeId(String cTrantypeId) {
        this.cTrantypeId = cTrantypeId;
    }

    public Date getDmakedate() {
        return dmakedate;
    }

    public void setDmakedate(Date dmakedate) {
        this.dmakedate = dmakedate;
    }

    public String getVnote() {
        return vnote;
    }

    public void setVnote(String vnote) {
        this.vnote = vnote;
    }


    @Override
    public String toString() {
        return "ICGeneralInH{" +
                "pkOrg='" + pkOrg + '\'' +
                ", cWarehouseId='" + cWarehouseId + '\'' +
                ", cBizId='" + cBizId + '\'' +
                ", cWhsManagerId='" + cWhsManagerId + '\'' +
                ", cDptvId='" + cDptvId + '\'' +
                ", cTrantypeId='" + cTrantypeId + '\'' +
                ", vnote='" + vnote + '\'' +
                ", dmakedate=" + dmakedate +
                '}';
    }
}
